Provided that PaginatedIconGrid's height request is correct, we
can rely on StBoxLayout to update the adjustment correctly.
this.goToPage(itemPage);
},
- _updateAdjustment: function(availHeight) {
- this._adjustment.page_size = availHeight;
- this._adjustment.upper = this._stack.height;
- },
-
_updateIconOpacities: function(folderOpen) {
for (let id in this._items) {
let params, opacity;
let availHeight = box.y2 - box.y1;
let oldNPages = this._grid.nPages();
- this._updateAdjustment(availHeight);
-
this._grid.adaptToSize(availWidth, availHeight);
let fadeOffset = Math.min(this._grid.topPadding,